import numpy as np
x=np.arange(30).reshape(2,3,5)
print([i for i in x])
'''
[array([[ 0,  cohere相关性,  2,  3,  4],
       [ 5,  6,  7,  8,  9],
       [10, 11, 12, 13, 14]]), array([[15, 16, 17, 18, 19],
       [20, 21, 22, 23, 24],
       [25, 26, 27, 28, 29]])]
'''
print([i for i in x.flat])
'[0, cohere相关性, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29]'